<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ page import="java.util.List,java.util.Iterator" %>
<%@ page import="com.sanqing.po.Candidate" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>人力资源管理系统</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.tabfont01 {	
	font-family: "宋体";
	font-size: 9px;
	color: #555555;
	text-decoration: none;
	text-align: center;
}
.font051 {font-family: "宋体";
	font-size: 12px;
	color: #333333;
	text-decoration: none;
	line-height: 20px;
}
.font201 {font-family: "宋体";
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}
.button {
	font-family: "宋体";
	font-size: 14px;
	height: 37px;
}
html { overflow-x: auto; overflow-y: auto; border:0;} 
-->
</style>

<link href="../css/css.css" rel="stylesheet" type="text/css" />
<script type="text/JavaScript">

</script>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table id="subtree1" style="DISPLAY: " width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
          	 <tr>
               <td height="20"></td>
          	 </tr>
              <tr>
                <td height="40" class="font42">
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">
<tr class="CTitle" >
	<td height="22" colspan="9" align="center" style="font-size:16px">人才信息列表</td>
</tr>
<tr bgcolor="#EEEEEE">
	<td width="10%" align="center" height="30">编号</td>
	<td width="10%" align="center" >姓名</td>
	<td width="10%" align="center" >性别</td>
	<td width="10%" align="center" >出生日期</td>
	<td width="10%" align="center" >应聘部门</td>
	<td width="10%" align="center" >应聘职位</td>
	<td width="10%" align="center" >所学专业</td>
	<td width="10%" align="center" >工作经验</td>
	<td width="15%" align="center" >执行操作</td>
</tr>
<%
List list = (List)request.getAttribute("list");
if(list!=null&&list.size()>0){
   Iterator it = list.iterator();
   while(it.hasNext()){
      Candidate c = (Candidate)it.next();
%>
	<tr  bgcolor="#FFFFFF">
	<td height="22" align="center" ><%=c.getId() %></td>
	<td height="22" align="center" ><%=c.getName() %></td>
	<td height="22" align="center" ><%=c.getSex()?"男":"女" %></td>
	<td height="22" align="center" ><%=c.getBirthday() %></td>
	<td height="22" align="center" ><%=c.getDepartment().getName() %></td>
	<td height="22" align="center" ><%=c.getPosition().getName() %></td>
	<td height="22" align="center" ><%=c.getSpecialty() %></td>
	<td height="22" align="center" ><%=c.getExperience() %></td>
	<td height="22" align="center" >
	<a href="candidate.do?method=detail&id=<%=c.getId()%>" target="_parent">详细</a>&nbsp;<a href="candidate.do?method=select&id=<%=c.getId()%>" style="display:<%=c.getIsstock()?"none":"" %>" target="_parent">修改</a>&nbsp;<a href="candidate.do?method=delete&id=<%=c.getId()%>">删除</a>
	<a href="candidate.do?method=stock&id=<%=c.getId()%>" style="display:<%=c.getIsstock()?"none":"" %>">入库</a>&nbsp;<a href="candidate.do?method=hire&id=<%=c.getId()%>" style="display:<%=c.getIsstock()&&!c.getIshired()?"":"none" %>">录用</a>
	</td>
	</tr>
<%}}else{ %>
<tr  bgcolor="#FFFFFF">
	<td height="22" colspan="9" align="center" >对不起，没有信息！！！</td>
</tr>
<%} %>
</table>
            </td>
        </tr>
      </table>
          </td>
        </tr>
</table>
</td>
</tr>
</table>
</body>
</html>

